#include <winsock.h>
#include <stdio.h>
#include <string>
#include <iostream>

#define MAX_MESSAGE_SIZE 512
#define BOARD_DIMENSION 10

using namespace std;

bool socketConnect(SOCKET *m_socket, char *host, char *port);
void sendMessage(SOCKET *m_socket, char *s, int len);
void receiveMessage(SOCKET *m_socket, char *ans);
char* exchange(SOCKET *m_socket, char *command);
char* begin(SOCKET m_socket);
char* quit(SOCKET *m_socket);
